#ifndef __COLUMN__
#define __COLUMN__

#include "GameObject.h"

enum ColumnType
{
	CT_UP,
	CT_DOWN
};

class Column : public GameObject
{
public:
	Column();
	~Column();

	static Column* createWithType(int type);

	bool isPass;
	CCSprite* sprite;
	void addColumnSprite(CCSprite* sprite);

	int getType();
	void updateCameraPosition(int cameraX);
private:

	int type;

	CREATE_FUNC(Column);
	bool init();
};

#endif // !__COLUMN__
